package com.hutao.manage.pojo;

import java.math.BigDecimal;

import com.hutao.manage.util.BigDecimalUtil;

public class OutpatientArea {
	
	private Integer sdNum;//山东省总数
	
	private BigDecimal sdRate;
	
	private Integer otherSdNum;//山东以外总数
	
	private BigDecimal otherSdRate;
	
	private Integer jinanNum;//济南总数
	
	private BigDecimal jinanRate;
	
	private Integer otherJinanNum;//山东省济南以外
	
	private BigDecimal otherJinanRate;
	
	private Integer dezhouNum;//德州
	
	private BigDecimal dezhouRate;
	
	private Integer liaochengNum;//聊城
	
	private BigDecimal liaochengRate;
	
	private Integer hezeNum;//菏泽
	
	private BigDecimal hezeRate;
	
	private Integer jiningNum;//济宁
	
	private BigDecimal jiningRate;
	
	private Integer taianNum;//泰安
	
	private BigDecimal taianRate;
	
	private Integer linxiNum;//临沂市
	
	private BigDecimal linxiRate;
	
	private Integer ziboNum;//淄博;//山东省济南以外
	
	private BigDecimal ziboRate;
	
	private Integer binzhouNum;//滨州
	
	private BigDecimal binzhouRate;
	
	private Integer weifangNum;//潍坊 
	
	private BigDecimal weifangRate;
	
	private Integer zaozhaungNum;//枣庄
	
	private BigDecimal zaozhaungRate;
	
	private Integer  yantaiNum; //烟台
	
	private BigDecimal yantaiRate;
	
	private Integer dongyingNum; //东营 
	
	private BigDecimal dongyingRate;
	
	private Integer qingdaoNum; //青岛
	
	private BigDecimal qingdaoRate;
	
	private Integer rizhaoNum; //日照
	
	private BigDecimal rizhaoRate;
	
	private Integer weihaiNum; //威海 
	
	private BigDecimal weihaiRate;
	
	private Integer totalCount; //日照
	
	
	
	
	public BigDecimal getSdRate() {
		return sdRate;
	}
	public void setSdRate(BigDecimal sdRate) {
		this.sdRate = sdRate;
	}
	public Integer getSdNum() {
		return sdNum;
	}
	public void setSdNum(Integer sdNum) {
		this.sdNum = sdNum;
	}
	public Integer getOtherSdNum() {
		return otherSdNum;
	}
	public void setOtherSdNum(Integer otherSdNum) {
		this.otherSdNum = otherSdNum;
	}
	public Integer getJinanNum() {
		return jinanNum;
	}
	public void setJinanNum(Integer jinanNum) {
		this.jinanNum = jinanNum;
	}
	public Integer getOtherJinanNum() {
		return otherJinanNum;
	}
	public void setOtherJinanNum(Integer otherJinanNum) {
		this.otherJinanNum = otherJinanNum;
	}
	public Integer getDezhouNum() {
		return dezhouNum;
	}
	public void setDezhouNum(Integer dezhouNum) {
		this.dezhouNum = dezhouNum;
	}
	public Integer getLiaochengNum() {
		return liaochengNum;
	}
	public void setLiaochengNum(Integer liaochengNum) {
		this.liaochengNum = liaochengNum;
	}
	public Integer getHezeNum() {
		return hezeNum;
	}
	public void setHezeNum(Integer hezeNum) {
		this.hezeNum = hezeNum;
	}
	public Integer getJiningNum() {
		return jiningNum;
	}
	public void setJiningNum(Integer jiningNum) {
		this.jiningNum = jiningNum;
	}
	public Integer getTaianNum() {
		return taianNum;
	}
	public void setTaianNum(Integer taianNum) {
		this.taianNum = taianNum;
	}
	public Integer getLinxiNum() {
		return linxiNum;
	}
	public void setLinxiNum(Integer linxiNum) {
		this.linxiNum = linxiNum;
	}
	public Integer getZiboNum() {
		return ziboNum;
	}
	public void setZiboNum(Integer ziboNum) {
		this.ziboNum = ziboNum;
	}
	public Integer getBinzhouNum() {
		return binzhouNum;
	}
	public void setBinzhouNum(Integer binzhouNum) {
		this.binzhouNum = binzhouNum;
	}
	public Integer getWeifangNum() {
		return weifangNum;
	}
	public void setWeifangNum(Integer weifangNum) {
		this.weifangNum = weifangNum;
	}
	public Integer getZaozhaungNum() {
		return zaozhaungNum;
	}
	public void setZaozhaungNum(Integer zaozhaungNum) {
		this.zaozhaungNum = zaozhaungNum;
	}
	public Integer getYantaiNum() {
		return yantaiNum;
	}
	public void setYantaiNum(Integer yantaiNum) {
		this.yantaiNum = yantaiNum;
	}
	public Integer getDongyingNum() {
		return dongyingNum;
	}
	public void setDongyingNum(Integer dongyingNum) {
		this.dongyingNum = dongyingNum;
	}
	public Integer getQingdaoNum() {
		return qingdaoNum;
	}
	public void setQingdaoNum(Integer qingdaoNum) {
		this.qingdaoNum = qingdaoNum;
	}
	public Integer getRizhaoNum() {
		return rizhaoNum;
	}
	public void setRizhaoNum(Integer rizhaoNum) {
		this.rizhaoNum = rizhaoNum;
	}
	public Integer getWeihaiNum() {
		return weihaiNum;
	}
	public void setWeihaiNum(Integer weihaiNum) {
		this.weihaiNum = weihaiNum;
	}
	public Integer getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}
	public BigDecimal getOtherSdRate() {
		return otherSdRate;
	}
	public void setOtherSdRate(BigDecimal otherSdRate) {
		this.otherSdRate = otherSdRate;
	}
	public BigDecimal getJinanRate() {
		return jinanRate;
	}
	public void setJinanRate(BigDecimal jinanRate) {
		this.jinanRate = jinanRate;
	}
	public BigDecimal getOtherJinanRate() {
		return otherJinanRate;
	}
	public void setOtherJinanRate(BigDecimal otherJinanRate) {
		this.otherJinanRate = otherJinanRate;
	}
	public BigDecimal getDezhouRate() {
		return dezhouRate;
	}
	public void setDezhouRate(BigDecimal dezhouRate) {
		this.dezhouRate = dezhouRate;
	}
	public BigDecimal getLiaochengRate() {
		return liaochengRate;
	}
	public void setLiaochengRate(BigDecimal liaochengRate) {
		this.liaochengRate = liaochengRate;
	}
	public BigDecimal getHezeRate() {
		return hezeRate;
	}
	public void setHezeRate(BigDecimal hezeRate) {
		this.hezeRate = hezeRate;
	}
	public BigDecimal getJiningRate() {
		return jiningRate;
	}
	public void setJiningRate(BigDecimal jiningRate) {
		this.jiningRate = jiningRate;
	}
	public BigDecimal getTaianRate() {
		return taianRate;
	}
	public void setTaianRate(BigDecimal taianRate) {
		this.taianRate = taianRate;
	}
	public BigDecimal getLinxiRate() {
		return linxiRate;
	}
	public void setLinxiRate(BigDecimal linxiRate) {
		this.linxiRate = linxiRate;
	}
	public BigDecimal getZiboRate() {
		return ziboRate;
	}
	public void setZiboRate(BigDecimal ziboRate) {
		this.ziboRate = ziboRate;
	}
	public BigDecimal getBinzhouRate() {
		return binzhouRate;
	}
	public void setBinzhouRate(BigDecimal binzhouRate) {
		this.binzhouRate = binzhouRate;
	}
	public BigDecimal getWeifangRate() {
		return weifangRate;
	}
	public void setWeifangRate(BigDecimal weifangRate) {
		this.weifangRate = weifangRate;
	}
	public BigDecimal getZaozhaungRate() {
		return zaozhaungRate;
	}
	public void setZaozhaungRate(BigDecimal zaozhaungRate) {
		this.zaozhaungRate = zaozhaungRate;
	}
	public BigDecimal getYantaiRate() {
		return yantaiRate;
	}
	public void setYantaiRate(BigDecimal yantaiRate) {
		this.yantaiRate = yantaiRate;
	}
	public BigDecimal getDongyingRate() {
		return dongyingRate;
	}
	public void setDongyingRate(BigDecimal dongyingRate) {
		this.dongyingRate = dongyingRate;
	}
	public BigDecimal getQingdaoRate() {
		return qingdaoRate;
	}
	public void setQingdaoRate(BigDecimal qingdaoRate) {
		this.qingdaoRate = qingdaoRate;
	}
	public BigDecimal getRizhaoRate() {
		return rizhaoRate;
	}
	public void setRizhaoRate(BigDecimal rizhaoRate) {
		this.rizhaoRate = rizhaoRate;
	}
	public BigDecimal getWeihaiRate() {
		return weihaiRate;
	}
	public void setWeihaiRate(BigDecimal weihaiRate) {
		this.weihaiRate = weihaiRate;
	}
	
	
	public void init() {
		if(sdNum!=null && totalCount!=null) {
			sdRate = BigDecimalUtil.getDivideRate(new BigDecimal(sdNum), new BigDecimal(totalCount));
		}
		if(otherSdNum!=null && totalCount!=null) {
			otherSdRate = BigDecimalUtil.getDivideRate(new BigDecimal(otherSdNum), new BigDecimal(totalCount));
		}
		if(jinanNum!=null && totalCount!=null) {
			jinanRate = BigDecimalUtil.getDivideRate(new BigDecimal(jinanNum), new BigDecimal(totalCount));
		}
		if(otherJinanNum!=null && totalCount!=null) {
			otherJinanRate = BigDecimalUtil.getDivideRate(new BigDecimal(otherJinanNum), new BigDecimal(totalCount));
		}
		if(dezhouNum!=null && totalCount!=null) {
			dezhouRate = BigDecimalUtil.getDivideRate(new BigDecimal(dezhouNum), new BigDecimal(totalCount));
		}
		if(liaochengNum!=null && totalCount!=null) {
			liaochengRate = BigDecimalUtil.getDivideRate(new BigDecimal(liaochengNum), new BigDecimal(totalCount));
		}
		if(hezeNum!=null && totalCount!=null) {
			hezeRate = BigDecimalUtil.getDivideRate(new BigDecimal(hezeNum), new BigDecimal(totalCount));
		}
		if(jiningNum!=null && totalCount!=null) {
			jiningRate = BigDecimalUtil.getDivideRate(new BigDecimal(jiningNum), new BigDecimal(totalCount));
		}
		
		if(taianNum!=null && totalCount!=null) {
			taianRate = BigDecimalUtil.getDivideRate(new BigDecimal(taianNum), new BigDecimal(totalCount));
		}
		
		if(linxiNum!=null && totalCount!=null) {
			linxiRate = BigDecimalUtil.getDivideRate(new BigDecimal(linxiNum), new BigDecimal(totalCount));
		}
		
		if(ziboNum!=null && totalCount!=null) {
			ziboRate = BigDecimalUtil.getDivideRate(new BigDecimal(ziboNum), new BigDecimal(totalCount));
		}
		
		if(binzhouNum!=null && totalCount!=null) {
			binzhouRate = BigDecimalUtil.getDivideRate(new BigDecimal(binzhouNum), new BigDecimal(totalCount));
		}
		
		if(weifangNum!=null && totalCount!=null) {
			weifangRate = BigDecimalUtil.getDivideRate(new BigDecimal(weifangNum), new BigDecimal(totalCount));
		}
		
		if(zaozhaungNum!=null && totalCount!=null) {
			zaozhaungRate = BigDecimalUtil.getDivideRate(new BigDecimal(zaozhaungNum), new BigDecimal(totalCount));
		}
		
		if(yantaiNum!=null && totalCount!=null) {
			yantaiRate = BigDecimalUtil.getDivideRate(new BigDecimal(yantaiNum), new BigDecimal(totalCount));
		}
		
		if(dongyingNum!=null && totalCount!=null) {
			dongyingRate = BigDecimalUtil.getDivideRate(new BigDecimal(dongyingNum), new BigDecimal(totalCount));
		}
		
		if(qingdaoNum!=null && totalCount!=null) {
			qingdaoRate = BigDecimalUtil.getDivideRate(new BigDecimal(qingdaoNum), new BigDecimal(totalCount));
		}
		
		if(rizhaoNum!=null && totalCount!=null) {
			rizhaoRate = BigDecimalUtil.getDivideRate(new BigDecimal(rizhaoNum), new BigDecimal(totalCount));
		}
		
		if(weihaiNum!=null && totalCount!=null) {
			weihaiRate = BigDecimalUtil.getDivideRate(new BigDecimal(weihaiNum), new BigDecimal(totalCount));
		}
		
		if(weihaiNum!=null && totalCount!=null) {
			weihaiRate = BigDecimalUtil.getDivideRate(new BigDecimal(weihaiNum), new BigDecimal(totalCount));
		}
		
	}
	@Override
	public String toString() {
		return "OutpatientArea [sdNum=" + sdNum + ", sdRate=" + sdRate + ", otherSdNum=" + otherSdNum + ", otherSdRate="
				+ otherSdRate + ", jinanNum=" + jinanNum + ", jinanRate=" + jinanRate + ", otherJinanNum="
				+ otherJinanNum + ", otherJinanRate=" + otherJinanRate + ", dezhouNum=" + dezhouNum + ", dezhouRate="
				+ dezhouRate + ", liaochengNum=" + liaochengNum + ", liaochengRate=" + liaochengRate + ", hezeNum="
				+ hezeNum + ", hezeRate=" + hezeRate + ", jiningNum=" + jiningNum + ", jiningRate=" + jiningRate
				+ ", taianNum=" + taianNum + ", taianRate=" + taianRate + ", linxiNum=" + linxiNum + ", linxiRate="
				+ linxiRate + ", ziboNum=" + ziboNum + ", ziboRate=" + ziboRate + ", binzhouNum=" + binzhouNum
				+ ", binzhouRate=" + binzhouRate + ", weifangNum=" + weifangNum + ", weifangRate=" + weifangRate
				+ ", zaozhaungNum=" + zaozhaungNum + ", zaozhaungRate=" + zaozhaungRate + ", yantaiNum=" + yantaiNum
				+ ", yantaiRate=" + yantaiRate + ", dongyingNum=" + dongyingNum + ", dongyingRate=" + dongyingRate
				+ ", qingdaoNum=" + qingdaoNum + ", qingdaoRate=" + qingdaoRate + ", rizhaoNum=" + rizhaoNum
				+ ", rizhaoRate=" + rizhaoRate + ", weihaiNum=" + weihaiNum + ", weihaiRate=" + weihaiRate
				+ ", totalCount=" + totalCount + ", getSdRate()=" + getSdRate() + ", getSdNum()=" + getSdNum()
				+ ", getOtherSdNum()=" + getOtherSdNum() + ", getJinanNum()=" + getJinanNum() + ", getOtherJinanNum()="
				+ getOtherJinanNum() + ", getDezhouNum()=" + getDezhouNum() + ", getLiaochengNum()=" + getLiaochengNum()
				+ ", getHezeNum()=" + getHezeNum() + ", getJiningNum()=" + getJiningNum() + ", getTaianNum()="
				+ getTaianNum() + ", getLinxiNum()=" + getLinxiNum() + ", getZiboNum()=" + getZiboNum()
				+ ", getBinzhouNum()=" + getBinzhouNum() + ", getWeifangNum()=" + getWeifangNum()
				+ ", getZaozhaungNum()=" + getZaozhaungNum() + ", getYantaiNum()=" + getYantaiNum()
				+ ", getDongyingNum()=" + getDongyingNum() + ", getQingdaoNum()=" + getQingdaoNum()
				+ ", getRizhaoNum()=" + getRizhaoNum() + ", getWeihaiNum()=" + getWeihaiNum() + ", getTotalCount()="
				+ getTotalCount() + ", getOtherSdRate()=" + getOtherSdRate() + ", getJinanRate()=" + getJinanRate()
				+ ", getOtherJinanRate()=" + getOtherJinanRate() + ", getDezhouRate()=" + getDezhouRate()
				+ ", getLiaochengRate()=" + getLiaochengRate() + ", getHezeRate()=" + getHezeRate()
				+ ", getJiningRate()=" + getJiningRate() + ", getTaianRate()=" + getTaianRate() + ", getLinxiRate()="
				+ getLinxiRate() + ", getZiboRate()=" + getZiboRate() + ", getBinzhouRate()=" + getBinzhouRate()
				+ ", getWeifangRate()=" + getWeifangRate() + ", getZaozhaungRate()=" + getZaozhaungRate()
				+ ", getYantaiRate()=" + getYantaiRate() + ", getDongyingRate()=" + getDongyingRate()
				+ ", getQingdaoRate()=" + getQingdaoRate() + ", getRizhaoRate()=" + getRizhaoRate()
				+ ", getWeihaiRate()=" + getWeihaiRate() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode()
				+ ", toString()=" + super.toString() + "]";
	}
	
	
	
	
	   

}
